﻿@model IEnumerable<MVC_basic.Models.App>

@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<h1 class="subheader">Your apps</h1>
<ul>
    @foreach(var app in Model)
    {
        <li>@Html.ActionLink(app.name, "Edit", new { id = app.id })</li>
    }
</ul>